#!/bin/bash -x

gcc -o test_single test_single.c s_set_PB1_30.c CLAPACK-3.2.1/tmglib_LINUX.a CLAPACK-3.2.1/lapack_LINUX.a CLAPACK-3.2.1/blas_LINUX.a CLAPACK-3.2.1/F2CLIBS/libf2c.a -I./CLAPACK-3.2.1/F2CLIBS/libf2c -lm

gcc -o test_double test_double.c d_set_PB1_30.c CLAPACK-3.2.1/tmglib_LINUX.a CLAPACK-3.2.1/lapack_LINUX.a CLAPACK-3.2.1/blas_LINUX.a CLAPACK-3.2.1/F2CLIBS/libf2c.a -I./CLAPACK-3.2.1/F2CLIBS/libf2c -lm

gfortran -o test_single_f test_single.c s_set_PB1_30.c lapack-3.2.1/tmglib_LINUX.a lapack-3.2.1/lapack_LINUX.a lapack-3.2.1/blas_LINUX.a -I./CLAPACK-3.2.1/F2CLIBS/libf2c

gfortran -o test_double_f test_double.c d_set_PB1_30.c lapack-3.2.1/tmglib_LINUX.a lapack-3.2.1/lapack_LINUX.a lapack-3.2.1/blas_LINUX.a -I./CLAPACK-3.2.1/F2CLIBS/libf2c
